<template>
    <div>
          <van-nav-bar  style="background:#1989fa">
        <template #title>
            <span style="color:#fff">{{title}}</span>
        </template>
          <template #left>
        <van-icon :name="icon" color="#FFF" size="18" @click="$router.go(-1)"/>
    </template>
    </van-nav-bar>
    </div>
</template>
<script>
export default {
    props:['title','icon'],
    data() {
        return {
            
        }
    },
}
</script>